﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary
{
    public class AdminCollection
    {
        List<Admin> adminList = new List<Admin>();

        public Admin CreateAdmin(string username, string password)
        {
            Admin newAdmin = new Admin(username, password);
            adminList.Add(newAdmin);
            return newAdmin;
        }

        public void TestData()
        {
            adminList.Add(new Admin("admin","123"));
            adminList.Add(new Admin("admin2", "123"));
        }

    }
}
